package com.acoreful.acf2java.admin.modules.sys.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("demo")
@Controller
public class DemoController {

	@GetMapping("to/{page}")
	public String toPage(@PathVariable("page") String page) {
		return page;
	}
}
